package org.apache.dolphinscheduler.dao.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * <p>
 * 超算资源申请表
 * </p>
 *
 * @author denggh
 * @since 2023-10-18
 */
@TableName("t_ds_resource_apply")
public class ResourceApply implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 资源中心 0 = 长沙 1 = 广州 2 = 昆山 3 = 济南
     */
    private Integer resourceCenter;

    /**
     * 申请人姓名
     */
    private String applyName;

    /**
     * 申请人电话
     */
    private String applyPhone;

    /**
     * 申请人邮箱
     */
    private String applyEmail;

    /**
     * 申请人单位
     */
    private String applyCompany;

    /**
     * 备注
     */
    private String applyRemark;

    private Date createTime;

    private Date updateTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getResourceCenter() {
        return resourceCenter;
    }

    public void setResourceCenter(Integer resourceCenter) {
        this.resourceCenter = resourceCenter;
    }

    public String getApplyName() {
        return applyName;
    }

    public void setApplyName(String applyName) {
        this.applyName = applyName;
    }

    public String getApplyPhone() {
        return applyPhone;
    }

    public void setApplyPhone(String applyPhone) {
        this.applyPhone = applyPhone;
    }

    public String getApplyEmail() {
        return applyEmail;
    }

    public void setApplyEmail(String applyEmail) {
        this.applyEmail = applyEmail;
    }

    public String getApplyCompany() {
        return applyCompany;
    }

    public void setApplyCompany(String applyCompany) {
        this.applyCompany = applyCompany;
    }

    public String getApplyRemark() {
        return applyRemark;
    }

    public void setApplyRemark(String applyRemark) {
        this.applyRemark = applyRemark;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "ResourceApply{" +
                "id=" + id +
                ", resourceCenter=" + resourceCenter +
                ", applyName='" + applyName + '\'' +
                ", applyPhone='" + applyPhone + '\'' +
                ", applyEmail='" + applyEmail + '\'' +
                ", applyCompany='" + applyCompany + '\'' +
                ", applyRemark='" + applyRemark + '\'' +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                '}';
    }
}
